package domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import javax.persistence.Table;

/**
 * @author luoy
 * 
 */
@Entity
@Table(name = "APP_DIC_REC")
public class AppDicRecord {
	/**
	 * 主键(自动生成)
	 */
	private Integer id;
	/**
	 * 与AutoGenDictionary关联
	 */
	private String dicName;
	/**
	 * 记录的key
	 */
	private String recKey;
	/**
	 * 记录的Value
	 */
	private String recValue;
	/**
	 * 记录描述
	 */
	private String recDesc;

	/**
	 * @return id
	 */
	@Id
	@Column(name = "ID")
	@GeneratedValue
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return dicName
	 */
	@Column(name = "DIC_NAME", length = 9)
	public String getDicName() {
		return dicName;
	}

	/**
	 * @param dicName
	 */
	public void setDicName(String dicName) {
		this.dicName = dicName;
	}

	/**
	 * @return recKey
	 */
	@Column(name = "REC_KEY", length = 9)
	public String getRecKey() {
		return recKey;
	}

	/**
	 * @param recKey
	 */
	public void setRecKey(String recKey) {
		this.recKey = recKey;
	}

	/**
	 * @return recValue
	 */
	@Column(name = "REC_VALUE", length = 9)
	public String getRecValue() {
		return recValue;
	}

	/**
	 * @param recValue
	 */
	public void setRecValue(String recValue) {
		this.recValue = recValue;
	}

	/**
	 * @return recDesc
	 */
	@Column(name = "REC_DESC", length = 9)
	public String getRecDesc() {
		return recDesc;
	}

	/**
	 * @param recDesc
	 */
	public void setRecDesc(String recDesc) {
		this.recDesc = recDesc;
	}
}
